package pl.itconsus.dao.utils;

import java.io.Serializable;
import java.util.List;

import pl.itconsus.model.entities.utils.BaseEntity;

public interface BaseDao<E extends BaseEntity<ID>,ID extends Serializable> {
	public E get(ID id);
	public void saveOrUpdate(E entity);
	public List<E> list();
	public E merge(E element);
}
